﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Castle.ActiveRecord;
using Castle.ActiveRecord.Queries;
using NHibernate.Criterion;

/// <summary>
/// Summary description for Tour
/// </summary>
namespace LIB
{
    [ActiveRecord("Page")]
    public class Page_Info : ActiveRecordBase<Page_Info>
    {
        private int _id;
        [PrimaryKey(PrimaryKeyType.Native)]
        public int id
        {
            get { return _id; }
            set { _id = value; }
        }

        private string _pageName;
        [Property]
        public string pageName
        {
            get { return _pageName; }
            set { _pageName = value; }
        }

        private string _pageMetaTitle;
        [Property]
        public string pageMetaTitle
        {
            get { return _pageMetaTitle; }
            set { _pageMetaTitle = value; }
        }

        private string _pageMetaKey;
        [Property]
        public string pageMetaKey
        {
            get { return _pageMetaKey; }
            set { _pageMetaKey = value; }
        }

        private string _pageMetaDes;
        [Property]
        public string pageMetaDes
        {
            get { return _pageMetaDes; }
            set { _pageMetaDes = value; }
        }

    }

}
